import java.util.Scanner;

public class HJ7{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        double number = sc.nextDouble();
        number += 0.5;
        int result = (int)number;
        System.out.println(result);
    }
}
